-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backend/frontend] fix multiple issues for Organisation Admins (#8101) #8459
Conversation
d08d97d
to
91f5e94
Compare
04bb6da
to
9ae20a0
Compare
d26e703
to
44b2d5f
Compare
89643b6
to
c2d48e7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8459 +/- ##
=======================================
Coverage 66.27% 66.28%
=======================================
Files 597 597
Lines 60916 60929 +13
Branches 6249 6255 +6
=======================================
+ Hits 40375 40387 +12
- Misses 20541 20542 +1 ☔ View full report in Codecov by Sentry. |
ed1a4d0
to
569af49
Compare
type = data["data"]["type"] | ||
if type == "internal-relationship": | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this? We want to do nothing if internal relationship ? If I understand correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well... this is to avoid to count "internal-relationiship" in raw stream . am I right @SouadHadjiat ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we don't want to synchronize internal relationships : we actually never create them anyway, the issue we had is that we couldn't delete them because they weren't created.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we however need them in the stream, because we have an inferrence rule for participates-to relationships (user member of an organization, we infere the relationship with parent organizations)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okok thanks, could you explain to me what is the role of the local synchronizer? I think it could help me understand what we do in process_message
For what I understand: we do not need to synchronize internal rels as there is nothing to sync because they are not created
3157761
to
c125d0d
Compare
c125d0d
to
deb3ad3
Compare
Proposed changes
Related issues
Checklist
Further comments